/*
* 创建人：shaliheng
* public 类
* 公用样式
*==================================
*/
body {
    scrollbar-face-color: #d8e5ff;
    scrollbar-shadow-color: #a6c1f7;
    scrollbar-highlight-color: #d8e5ff;
    scrollbar-3dlight-color: #a6c1f7;
    scrollbar-darkshadow-color: #ffffff;
    scrollbar-track-color: #f3f6ff;
    scrollbar-arrow-color: #000000;
    font-family: '宋体';
    font-size: 12px;
	margin:0px;
	padding:0px;
	height:100%;
}
a:link {
    color: #000000;
    text-decoration: none
}

a:visited {
    color: #333;
    text-decoration: none
}

a:hover {
    color: #ff0000;
    text-decoration: none
}

a:active {
    color: #990000;
    text-decoration: none
}

html {
    overflow: hidden;
}

BODY, TH {
    font-size: 12px;
    line-height: 16px;
    background: #fff;
}

TD {
    font-size: 12px;
    line-height: 18px;
}

li {
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-size: 12px;
    font-weight: normal;
}

.hidden {
    display: none;
}
/*
* BUTTON 按钮样式
*/
button {
	-moz-background-clip:border;
	-moz-background-inline-policy:continuous;
	-moz-background-origin:padding;
	background:transparent url(../images/button/button_icon_sprite.png) no-repeat scroll -106px -90px;
	border:0 none;
	color:#003377;
	cursor:pointer;
	font-size:12px;
	font-weight:bold;
	height:26px;
	line-height:16px;
	margin:0 5px 0 0;
	width:86px;
}
button.disable{
	color: #999999;
	cursor: default;
}
/*表单样式定义*/
FORM {
    margin: 0px;
    padding: 0px;
}

/*div块样式定义*/
DIV {
    PADDING-RIGHT: 0px;
    PADDING-LEFT: 0px;
    PADDING-BOTTOM: 0px;
    MARGIN: 0px auto;
    PADDING-TOP: 0px;
}

/*图片样式定义*/
IMG {
    BORDER-TOP-WIDTH: 0px;
    BORDER-LEFT-WIDTH: 0px;
    BORDER-BOTTOM-WIDTH: 0px;
    BORDER-RIGHT-WIDTH: 0px
}

/**************************table 类**************************/
TABLE {
    border-collapse: collapse;
}

/*定义表格的添加、查询、列表的显示样式*/
.table_add, .table_list, .table_search {
    border-collapse: collapse;
    width: 100%;
    padding: 0;
    margin: 0;
}

/*定义添加类型表格的单元显示样式*/
.table_add td {
    border: #ccc 1px solid;
    font-size: 12px;
    padding: 2px 4px 2px 4px;
}

/*定义添加类型表格TD样式*/
.table_add .tdclass_view {
    background: #f4f4f4;
}

.table_add .tdclass_edit {
    background: #fff;
}

/*表头说明样式*/
.table_add caption {
    background: #fff url( ../images/table/table_add.jpg );
    background-repeat: no-repeat;
    text-align: left;
    padding-top: 6px;
    padding-left: 17px;
}

/*表头说明样式*/
.table_list caption {
    background: #fff url( ../images/table/table_list.jpg );
    background-repeat: no-repeat;
    text-align: left;
    padding-top: 6px;
    padding-left: 17px;
}

/*表头说明样式*/
.table_search caption {
    background: #fff url( ../images/table/table_search.gif );
    background-repeat: no-repeat;
    text-align: left;
    padding-top: 6px;
    padding-left: 17px;
}

/*查询表格单元格样式*/
.table_search td {
    border: 1px solid #ccc;
    font-size: 12px;
    padding: 0px 4px 0px 4px;
}

/*列表表格单元格样式*/
.table_list td {
    border: 1px solid #ccc;
    font-size: 12px;
    padding: 0 4px 0px 4px;
    margin: 0;
    white-space: nowrap;
}

/*表格头或尾样式定义*/
.table_head, .table_bottom {
    color: #000;
}

/*表格头部定义*/
.table_head td {
    background: #e4e4e4 url( ../images/table/table_head.gif );
    font-weight: 800;
    text-align: center;
}

/*表格尾部定义*/
.table_bottom td {
    background: #e4e4e4 url( ../images/table/table_bottom.gif );
    text-align: right;
}

.pagination {
    width: 100%;
    text-align: right;
}

.even {
    background-color: #E6E6FA;
}

.uneven {
    background-color: #F0F8FF;
}

/**************************layout 类**************************/
#AddTitle, #EditTitle, #AddEditTitle, #SearchTitle, #ImportTitle {
    background-repeat: no-repeat;
    text-align: left;
    height: 24px;
    margin-left: 2px;
    margin-top: 2px;
}

#AddTitle {
    background: #fff url( ../images/table/table_add.jpg );
    background-repeat: no-repeat;
}

#AddEditTitle {
    background: #fff url( ../images/table/table_addedit.jpg );
    background-repeat: no-repeat;
}

#EditTitle {
    background: #fff url( ../images/table/table_edit.jpg );
    background-repeat: no-repeat;
}

#SearchTitle {
    background: #fff url( ../images/table/table_search.jpg );
    background-repeat: no-repeat;
}

#ImportTitle {
    background: #fff url( ../images/table/import_title.jpg );
    background-repeat: no-repeat;
}

#ListTitle {
    background: #fff url( ../images/table/table_list.jpg );
    background-repeat: no-repeat;
    text-align: left;
    height: 24px;
    margin-left: 2px;
    margin-top: 2px;
}

.AddAreaDiv {
    overflow: hidden;
    width: 100%;
    word-wrap: break-word;
    border: #f00 0 solid;
    padding-top: 0px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;
}

.EditAreaDiv {
    overflow: hidden;
    width: 100%;
    word-wrap: break-word;
    border: #f00 0 solid;
    padding-top: 0px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;
}

.AddEditAreaDiv {
    overflow: hidden;
    width: 100%;
    word-wrap: break-word;
    border: #f00 0 solid;
    padding-top: 0px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;
}

.SearchAreaDiv {
    width: 100%;
    word-wrap: break-word;
    border: #f00 0 solid;
    padding-top: 0px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;
}

.ListAreaDiv, .ListAreaDiv_scroll {
    overflow: hidden;
    width: 100%;
    height: 100%;
    word-wrap: break-word;
    border: #f00 0 solid;
    /*padding-top: 0px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;*/
    
}

.ListAreaDiv_scroll {
    overflow-y: auto;
    overflow-x: auto;
}

#gridbox {
    width: 100%;
    height: 100%;
    background-color: white;
    overflow: hidden;
}

.securityAdd {
    padding-top: 0px;
    padding-right: 2px;
    padding-left: 2px;
    padding-bottom: 2px;
    text-align: center;
    margin-left: 2px;
    margin-top: 2px;
    background: #f4f4f4 url( ../images/button/security_bg.jpg );
}

.securityList,.SecurityAreaDiv {
+ padding-top : 0 px;
+ padding-right : 2 px;
+ padding-left : 2 px;
+ padding-bottom : 2 px;
    text-align: center;
+ margin-left : 2 px;
+ margin-top : 2 px; /* background: #f4f4f4 url( ../images/button/security_bg.jpg );*/
    height: 27px;
}

/**************************forme 类**************************/
.input_button {
/*font-size: 12px;*/
/*height: 22px;*/
/*width: 48px;*/
/*background: url( ../images/button/input_bg.gif ) 0 0 no-repeat;*/
/*border: 0; +*/
/*padding: 3 px 0 px 0 px 0 px;*/

    height: 22px;
    margin: 0px 1px 0px 1px;
    BORDER: #BACEEB 1px solid;
    PADDING: 3px 4px 2px 4px;
    CURSOR: pointer;
    COLOR: black;
    background: url( ../images/button/input_bg.gif );
}
.input_btn_2,.input_btn_4,.input_btn_6{
	height:24px;
	text-align:center;
	font-weight: normal;
	letter-spacing:3px; 
}
.input_btn_2 {
	width:60px;
	background: url( ../images/button/input_bg_2.jpg);
}
.input_btn_4 {
	width:82px;
	background: url( ../images/button/input_bg_4.jpg);
}
.input_btn_6 {
	width:95px;
	background: url( ../images/button/input_bg_6.jpg);
}
.input_text, .input_text_auto {
    font-family: tahoma, arial, helvetica, sans-serif;
    border: #e1e1e1 1px solid;
    padding: 2px 2px 0px 2px;
    margin-bottom: 2px;
    font-size-adjust: none;
    font-stretch: normal;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: normal;
    height: 22px;
    background: url( ../images/button/input_text_bg.gif);
    font-size: 12px;
    vertical-align: middle;
}

.input_text_auto {
    width: 100%;
}

.input_select {
    font-size: 12px;
    border: #e1e1e1 1px solid;
    height: 23px;
    background: url( ../images/button/input_text_bg.gif);
}

.input_select_out {
    float: left;
    border: 1px solid #ccc;
    width: 100px;
    height: 22px;
    background: #f4f4f4;
    clip: rect( 0px, 179px, 16px, 0px );
    overflow: hidden;
}

.input_select {
    position: relative;
    left: -2px;
    top: -2px;
    color: #000;
    font-size: 12px;
    background: #f4f4f4; /*控制select的背景颜色*/
    width: 100; /*控制option的显示长度*/
    line-height: 14px;
}
/**************************下拉树所用样式****************************/
#swjg_tree,.swjg_tree table {
    padding: 0px;
    margin: 0px;
    border: 0px;
    font-size: 12px;
}

#swjg_tree,.swjg_tree  table tr {
    padding: 0px;
    margin: 0px;
    font-size: 12px;
}

#swjg_tree,.swjg_tree  table td {
    padding: 0px;
    margin: 0px;
    font-size: 12px;
    line-height: 18px;
    border: 0px;
}

#show_swjgtree,.show_swjgtree table {
    padding: 0px;
    margin: 0px;
    border: 0px;
    font-size: 12px;
}

#show_swjgtree,.show_swjgtree table td {
    font-size: 12px;
    border: 0px;
    padding: 0px;
    line-height: 18px;
    border: 0px;
}


.tiperror {
	background: #FDF7D2 url(../js/validator/invalid_line.gif) repeat-x bottom;
	border: 1px solid #dd7870;
}

.requideerror {
	background: #FDF7D2;
	border: 1px solid #999999;
}

.wdatetiperror{
	border:#dd7870 1px solid;
	height:22px;
	background:#FDF7D2 url(../js/validator/datePickervalid.gif) no-repeat right;
}

.wdaterequideerror{
	border:#999 1px solid;
	height:22px;
	background:#FDF7D2 url(../js/datepicker/skin/datePicker.gif) no-repeat right;
}

